#ifndef MEDIALOGICRT_H
#define MEDIALOGICRT_H
#include "media/logic/MediaLogicTT.h"

#define TAB_ROW_HEIGHT 80

class MediaLogicCT : public MediaLogicTT{

public:
    MediaLogicCT(QMap<QString, QMap<QString, QString>> &RGLRLSMAP,
                   QSqlDatabase *DB,
                   QMap<QString, QString> &QSSMAP);

    void tab_attribute_max(int maxrow);

    void tab_viewlayout_init(int row, QString name, QString artist, QString suffix, QString bitrate, QString size, QString duration, QString cover);

    void tab_double_change(QModelIndex ModelIndex);

    void tab_cells_change(int row);

    void tab_unexpeced_select(int min, int max);

    void tab_secload_finish();

    void tab_resource_update();

    void tab_selection_change();

    void tab_variant_scroll(int range_min, int range_max);

    void tab_find(QListWidgetItem *item = nullptr);

    void funcdr_relock(NT::CST_BRIGHT_SPOT lock_type);

    void favora_loader(QString text="", bool isreadonly=true, QString ico=":/PIXMAP/bench/private_dvd.png");

    void favora_variant(QVariant data);

    void favora_elect(QString name);

    void rtp_menu_trigger(QAction *action);

    void dialog_rsmatching(int Type);

    void dialog_dispose_folder(QAbstractButton *But);

    void dialog_dispose_file(QAbstractButton *But);

};
#endif








